package com.xinruke.hostels.reservation.user.interfaces.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * @ClassName LoginResultDTO
 * @CreateDate 2019/6/15
 * @Author FengXinQiang
 * @Version V1.0.0.0
 * @Decription 登录结果响应
 */
@ApiModel("登录结果响应")
public class LoginResultDTO {
    /**
     * 姓名
     */
    @ApiModelProperty("姓名")
    private String xingming;

    /**
     * 性别：0未知：1男；2女
     */
    @ApiModelProperty("性别：0未知：1男；2女")
    private Byte xingbie;

    /**
     * 身份证号
     */
    @ApiModelProperty("身份证号")
    private String shenfenzhenghao;

    /**
     * 手机号
     */
    @ApiModelProperty("手机号")
    private String shoujihao;

    /**
     * 大单位
     */
    @ApiModelProperty("大单位")
    private Byte dadanwei;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date chuangjianshijian;
    /**
     * 职级待遇
     */
    @ApiModelProperty("职级待遇")
    private Byte zhijiedaiyu;

    /**
     * 认证状态：1认证通过；0未认证
     */
    @ApiModelProperty("认证状态：1认证通过；0未认证")
    private Byte renzhengzhuangtai;

    /**
     * 是否有效 1：有效 0：无效2：冻结
     */
    @ApiModelProperty("是否有效 1：有效 0：无效2：冻结")
    private Byte zhuangtai;

    @ApiModelProperty("登录token")
    private String token;

    public Date getChuangjianshijian() {
        return chuangjianshijian;
    }

    public void setChuangjianshijian(Date chuangjianshijian) {
        this.chuangjianshijian = chuangjianshijian;
    }

    public String getXingming() {
        return xingming;
    }

    public void setXingming(String xingming) {
        this.xingming = xingming;
    }

    public Byte getXingbie() {
        return xingbie;
    }

    public void setXingbie(Byte xingbie) {
        this.xingbie = xingbie;
    }

    public String getShenfenzhenghao() {
        return shenfenzhenghao;
    }

    public void setShenfenzhenghao(String shenfenzhenghao) {
        this.shenfenzhenghao = shenfenzhenghao;
    }

    public String getShoujihao() {
        return shoujihao;
    }

    public void setShoujihao(String shoujihao) {
        this.shoujihao = shoujihao;
    }

    public Byte getDadanwei() {
        return dadanwei;
    }

    public void setDadanwei(Byte dadanwei) {
        this.dadanwei = dadanwei;
    }

    public Byte getZhijiedaiyu() {
        return zhijiedaiyu;
    }

    public void setZhijiedaiyu(Byte zhijiedaiyu) {
        this.zhijiedaiyu = zhijiedaiyu;
    }

    public Byte getRenzhengzhuangtai() {
        return renzhengzhuangtai;
    }

    public void setRenzhengzhuangtai(Byte renzhengzhuangtai) {
        this.renzhengzhuangtai = renzhengzhuangtai;
    }

    public Byte getZhuangtai() {
        return zhuangtai;
    }

    public void setZhuangtai(Byte zhuangtai) {
        this.zhuangtai = zhuangtai;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }
}
